package com.sjp.demo.dubbo;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

//,"classpath:spring/spring-dubbo.xml"
@SpringBootApplication
//@ImportResource(value = {"classpath:spring/spring-dubbo.xml"})
@MapperScan(basePackages = "com.sjp.demo.dubbo.model.mapper")
@EnableDubbo
public class DubboApplication {

    public static void main(String[] args) {
        SpringApplication.run(DubboApplication.class, args);
    }

}
